package com.xkdx.guangguang.fragment.brand;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;

public class BrandInfoNewAction extends AbsAction {

	String brandID, cityID,pageIndex;

	public BrandInfoNewAction(String brandID, String cityID,String pageIndex) {
		this.brandID = brandID;
		this.cityID = cityID;
		this.pageIndex=pageIndex;
	}

	@Override
	public void constructRequest() {
		// 优惠信息
		HashMap<String, String> newInfomap = new HashMap<String, String>();
		newInfomap.put("DeviceID", "2");
		newInfomap.put("RegionID", cityID);
		newInfomap.put("BrandID", brandID);
		newInfomap.put("InfoType", "1|2");
		newInfomap.put("PageIndex", pageIndex);
		newInfomap.put("PageSize", "30");
		newInfomap.put("RefreshTime", "1900-1-1");
		String newInfoJson = constructJson(newInfomap);
		Parameter newInfoparameter = new Parameter("informationInterface", "getInfoListByBrand", newInfoJson);

		List<Parameter> list = new ArrayList<AbsAction.Parameter>();
		list.add(newInfoparameter);
		requestData = constructMod(list);

	}

}
